﻿<Window x:Class="WpfGameControls.MessageDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WpfMessage" ShowInTaskbar="False" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="128" Width="300" Loaded="Window_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="48" />
        </Grid.RowDefinitions>
        <TextBox HorizontalAlignment="Left" Margin="12,12,0,15" Name="messageText" Width="254" IsReadOnly="True" TextWrapping="Wrap" IsTabStop="False" FontSize="14" IsUndoEnabled="False" BorderThickness="0" />
        <Button Content="B2" HorizontalAlignment="Left" Margin="98,0,0,18" Name="button2" VerticalAlignment="Bottom" Width="75" Click="button2_Click" Grid.Row="1" />
        <Button Content="B3" HorizontalAlignment="Right" Margin="0,0,14,18" Name="button3" VerticalAlignment="Bottom" Width="75" IsCancel="True" Grid.Row="1" />
    </Grid>
</Window>
